package com.yhally.seata.storage.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 *
 * @author wangyu
 * @version 1.0
 * @date 2022/5/6 23:00
 */
@Data
@TableName("t_storage")
public class Storage {

    private Long id;
    private Long productId;
    private Integer total;
    private Integer used;
    private Integer residue;
    /**
     * 锁定扣减库存
     */
    private Integer frozen;
}

